package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.TeachplanDTO;
import com.xuecheng.api.content.model.vo.TeachplanVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

/**
 * @author 黄子弟
 * @Date 2021/12/11
 */

@Api(value = "课程计划基本信息" ,tags = "课程计划Api接口")
public interface TeachplanControllerApi {
    @ApiOperation("获取课程大纲")
    @ApiImplicitParam(name = "courseBaseId",value = "课程id",required = true,dataType = "Long",paramType = "path")
    TeachplanDTO getTeachplan(Long courseBaseId);

    @ApiOperation("增加或修改课程计划")
    @ApiImplicitParam(name = "vo",value = "课程计划信息封装类",required = true,dataType = "TeachplanVO",paramType = "body")
    TeachplanDTO createOrModifyTeachplan(TeachplanVO vo);


    @ApiOperation("删除课程计划")
    @ApiImplicitParam(name = "teachPlanId",value = "课程计划id",required = true,dataType = "Long",paramType = "path")
    void removeTeachplan(Long teachPlanId);


}
